// 根据12地支获取每日宜忌
let stars = {
    '寅':'建',
    '卯':'除',
    '辰':'满',
    '巳':'平',
    '午':'定',
    '未':'执',
    '申':'破',
    '酉':'危',
    '戌':'成',
    '亥':'收',
    '子':'开',
    '丑':'闭'
}

let taboo = {
    '建':[
        ['祈福','安葬','装修','破土','求财','结婚','入学','出行','上任','开业'],
        ['开仓','动土','乘船']
    ],
    '除':[
        ['祭祀','祈福','婚姻','出行','动土','交易','求医'],
        ['上任','远行','签约','搬迁','开张']
    ],
    '满':[
        ['祈福','开市','求财','祭祀','出行','交易'],
        ['安葬','上任','求医','嫁娶']
    ],
    '平':[
        ['祈福','嫁娶','装修','安葬','破土','开市','动土'],
        ['搬家','远行']
    ],
    '定':[
        ['祭祀','祈福','嫁娶','入学','开市','装修'],
        ['出行','交涉']
    ],
    '执':[
        ['装修','祭祀','嫁娶','立契'],
        ['开市','求财','出行','搬迁']
    ],
    '破':[
        ['破土','求医'],
        ['嫁娶','出行','搬迁','交涉']
    ],
    '危':[
        ['祭祀','祈福','破土'],
        ['登山','出行','乘船','嫁娶','造葬']
    ],
    '成':[
        ['结婚','开市','装修','安葬','动土','出行','求财','交易','搬迁'],
        ['诉讼']
    ],
    '收':[
        ['祈福','上任','嫁娶','装修','开市','交易','立契'],
        ['破土','安葬']
    ],
    '开':[
        ['祈福','祭祀','入学','上任','动土','出行','交易','开市'],
        ['诉讼','安葬']
    ],
    '闭':[
        ['祭祀','祈福','造葬','装修'],
        ['开市','出行','求医','嫁娶']
    ],
}
export const getDayTaboo = (value) => {
    let star = stars[value[1]];
    return taboo[star];
}
